Skip to content

Implement packed based receive API for UDP packets. #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 15, 2024

Conversation

aentinger
Copy link
Contributor

Following the conventions of Arduino's UDP API (outlined in ArduinoCore-API/api/Udp.h) we are offering to our users a packet based API. Reading a packet is started by parsePacket and finished by flush.

…(in our examples) we can test the functionality of reading a UDP packet until exhaustion.
… buffer before using std::back_inserter.

Doing so doubles the memory requirements.
@aentinger aentinger added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Oct 15, 2024
@aentinger aentinger self-assigned this Oct 15, 2024
@facchinm facchinm self-requested a review October 15, 2024 08:47
@aentinger
Copy link
Contributor Author

Ciao @facchinm ☕ 👋 You've self-requested this review faster than I did assign it to you 😉 - will proceed with merge then.

@aentinger aentinger removed the request for review from facchinm October 15, 2024 08:48
@aentinger aentinger merged commit 946e69a into main Oct 15, 2024
16 checks passed
@aentinger aentinger deleted the feature-packet-api branch October 15, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants